package extends01;

public class Person {
    //姓名
     String name;

    //吃饭
    public void eat() {
        System.out.println(name+"吃饭");
    }
}
